'use strict';

exports.main = async (event, context) => {
	//event为客户端上传的参数
	
	const db = uniCloud.database();
	const collection = db.collection('videoType');
	let list = await collection.get();
	console.log('list : ', list)
	
	//返回数据给客户端
	return event
};
